//
// Created by Japhy on 2017-8-31.
//

#ifndef PCSC_USB_H
#define PCSC_USB_H
#ifdef __cplusplus
extern "C" {
#endif

int usb_switch_to_current(int interfaceId);
int usb_read(unsigned char *buffer, int length, unsigned int waittime);
int usb_write(unsigned char *buffer, int length, unsigned int waittime);
void usb_init(void *arg);
int usb_is_present(void);

#ifdef __cplusplus
}
#endif

#endif //PCSC_USB_H
